package com.tramy.cn.push.common;

public class VIVOInfo extends AuthInfo {

    private final Integer appId;

    private final String appKey;

    private final String appSecret;

    private final Integer poolSize;

    private final ErrorListener errorListener;

    public VIVOInfo(Integer appId,
                    String appKey,
                    String appSecret,
                    Integer poolSize,
                    ErrorListener errorListener) {
        platform = Platform.VIVO;

        this.appId = appId;
        this.appKey = appKey;
        this.appSecret = appSecret;

        this.poolSize = poolSize;

        this.errorListener = errorListener;
    }

    public Integer getAppId() {
        return appId;
    }

    public String getAppKey() {
        return appKey;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public Integer getPoolSize() {
        return poolSize;
    }

    public ErrorListener getErrorListener() {
        return errorListener;
    }

}
